.TH std::stack::pop 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::stack::pop \- std::stack::pop

.SH Synopsis
   void pop();

   Removes the top element from the stack. Effectively calls c.pop_back().

.SH Parameters

   \fI(none)\fP

.SH Return value

   \fI(none)\fP

.SH Complexity

   Equal to the complexity of Container::pop_back.

.SH Example

.SH See also

   emplace constructs element in-place at the top
   \fI(C++11)\fP \fI(public member function)\fP
   push    inserts element at the top
           \fI(public member function)\fP
   top     accesses the top element
           \fI(public member function)\fP
